package com.user.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.core.domain.CorePo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author: stefanie-zy
 * @time: 2024/1/25-13:51
 * @description: Po-用户配置
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_conf")
@Schema(name = "Po-用户配置")
public class UserConfPo extends CorePo implements Serializable {
    @Serial
    private static final long serialVersionUID = 2141318664402841690L;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "角色id")
    private List<Long> roleId;

    @Schema(description = "组织id")
    private Long orgId;

    @Schema(description = "岗位id")
    private List<Long> postId;
}
